{% extends "base_nosearch.html" %}
{% block script %}

{% endblock %}
{% block content %}
<div class="container" id="bg_none"> 
    
    <div class="order_confirm_container">
       <div class="my_order_dish">我的订单</div>       
       <div class="order_dish_confirm_title">菜单明细</div>
       <ul class="order_dish_confirm_ltitle">
         <li>序号</li>
         <li>美食名称</li>
         <li>价钱</li>
         <li>数量</li>
         <li>总计</li>
         <li>操作</li>
       </ul>
       
       {% for di in cart.dish_cart_item_set.all %}
       <ul class="order_dish_alone">
         <li>1.</li>
         <li>{{di.name}}</li>
         <li class="red">{{di.price}}元/例</li>
         <li ><a class="order_dish_count_cut" href=""></a><input value="{{di.amount}}"><a class="order_dish_count_add" href=""></a></li>
         <li class="red">{{di.get_dish_total}}元</li>
         <li><a href="">删除</a></li>
       </ul>
       {% endfor %}
       
       
       <div class="order_dish_count_result">
         所选餐厅：{{cart.rest.name}}
         <a href="/rest/{{cart.rest.alias}}/dish/">继续点餐</a>
         <span class="order_dish_count_total">总份数<span class="red2">{{cart.get_total_amount}}</span> 份</span>
         菜单金额：<span class="red2"> {{cart.get_total}}</span>元
       </div>
       
       <div class="order_dish_info">
       <div class="order_dish_confirm_title">就餐信息</div>
       <ul class="order_dish_date">
         <li class="order_dish_wt">就餐时间</li>
         <li><a href="">今天 星期三</a></li>
         <li><a href="">12-15 星期四</a></li>
         <li><a href="">12-16 星期五</a></li>
         <li><a href="">12-17 星期六</a></li>
         <li><a href="">12-18 星期日</a></li>
       </ul>
       
       <ul>
         <li class="order_dish_wt">座位</li>
         <li>就餐人数 <input>人左右</li>        
       </ul>
       
        <ul>
         <li class="order_dish_wt">发票<input type="checkbox" id="fp">需要</li>
         <li>备注<textarea></textarea></li>       
       </ul>
       </div>
       <div class="center">
       	   <form method="post">
	           <input type="submit" value="提交订单" />
			{% csrf_token %}
       	   </form>
       </div>
       
       
    </div>
  

  <div class="bottom_bg_pic"></div>
 
</div>
{% endblock %}
  
 
